
import rightMenu from './rightMenu'

const install = function (Vue) {
  Vue.directive('rightMenu', rightMenu)
}

if (window.Vue) {
  window['rightMenu'] = rightMenu
  Vue.use(install); // eslint-disable-line
}

rightMenu.install = install
export default rightMenu
